<?php

namespace App\Admin\Actions\WithdrawAction;

use Encore\Admin\Actions\BatchAction;
use Illuminate\Database\Eloquent\Collection;

class BatchRefuse extends BatchAction
{
	public $name = '批量审核拒绝';
	
	public function handle(Collection $collection)
	{
		/*foreach ($collection as $model) {
			$model->update(['status' => 'refusal']);
			usleep(50);
		}*/
		
		return $this->response()->success('批量审核暂未开通')->refresh();
	}
}
